package com.zd.mapper;

import com.zd.model.Major;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface MajorMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Major record);

    int insertSelective(Major record);

    Major selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Major record);

    int updateByPrimaryKey(Major record);

    List<Major> selectMajorInfo();

    List<Major> selectMajor(@RequestParam Map<String, Object> majorMap);
}